#!/bin/bash
# Setup script for Companion Recommendation System

echo "=========================================="
echo "Companion Recommendation System Setup"
echo "=========================================="

# Check Python version
python_version=$(python --version 2>&1 | awk '{print $2}')
echo "[INFO] Python version: $python_version"

# Install dependencies
echo "[INFO] Installing dependencies..."
pip install -r requirements.txt

# Generate sample data
echo "[INFO] Generating sample data..."
python data/sample_data_generator.py

echo ""
echo "=========================================="
echo "Setup complete!"
echo "=========================================="
echo ""
echo "To start the API server:"
echo "  python api/test_api.py"
echo ""
echo "Then open web/interactive_demo.html in your browser"
echo ""

